﻿using System.Xml.Serialization;

namespace VPLink2013.Framework
{
    public class ConfigQuizzList
    {
        [XmlAttribute]
        public string url { get; set; }
        [XmlAttribute]
        public string name { get; set; }
    }

    public class ConfigNewsList
    {
        [XmlAttribute]
        public string url { get; set; }
        [XmlAttribute]
        public string name { get; set; }
    }

    [XmlRoot("ConfigQuizz"), XmlType("ConfigQuizz")]
    public class ConfigQuizz
    {
        [XmlElement("NewsList")]
        public ConfigNewsList newsList { get; set; }

        [XmlElement("QuizzList")]
        public ConfigQuizzList quizzList { get; set; }
    }
}
